#ifndef aes_app_h
#define aes_app_h



int aes_cbc_encrypt(unsigned char *pdata, int len);
int aes_cbc_decrypt(unsigned char *pdata, int len);
int aes_cbc_test(void);
int aes_cbc_encrypt_by_iv(unsigned char *pdata, int len, const unsigned char *iv_tab);
int aes_cbc_decrypt_by_iv(unsigned char *pdata, int len, const unsigned char *iv_tab);

int setup_aes_key(const unsigned char *pdat, int len);

#endif


